package sz.szsmk.citizencard.ui.adapter;

import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import sz.szsmk.citizencard.R;
import sz.szsmk.citizencard.ui.activity.BusTransInputActivity;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/12/17 14:23
 * description:
 */
public class BusTransInputAdapter extends RecyclerView.Adapter<BusTransInputAdapter.BusTransInputHolder> {

    private BusTransInputActivity mContext;
    public BusTransInputAdapter(BusTransInputActivity busTransInputActivity) {
        mContext = busTransInputActivity;
    }

    @Override
    public BusTransInputHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(mContext).inflate(R.layout.bus_trans_input_item, parent, false);
        return new BusTransInputHolder(view);
    }

    @Override
    public void onBindViewHolder(BusTransInputHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 3;
    }

    public static class BusTransInputHolder extends RecyclerView.ViewHolder {

        public BusTransInputHolder(View itemView) {
            super(itemView);
        }
    }

}
